package com.cloudkinto.service.storage.vo;

import com.cloudkinto.common.utils.StringsUtil;
import com.cloudkinto.entity.StorageShelfDo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhujiale
 * @description
 * @date 2022/12/20
 */
@Data
public class StorageShelfRes extends StorageShelfDo {
    @ApiModelProperty("货架类型中文")
    private String typeCN;

    @ApiModelProperty("现实状态中文")
    private String statusCN;

    @ApiModelProperty("归属仓库中文")
    private String storageCN;

    public String getTypeCN() {
        return StringsUtil.createI18Message(typeCN);
    }
}
